projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbae074
)
Export 330_cleanse and checksum for use by friends.
author
robertl
<robertl>
Fri, 8 Apr 2005 20:18:25 +0000
(20:18 +0000)
committer
robertl
<robertl>
Fri, 8 Apr 2005 20:18:25 +0000
(20:18 +0000)
magproto.c
patch
|
blob
|
history
diff --git
a/magproto.c
b/magproto.c
index 4666d2c5b6e7be35374812e416951b832e6d2942..cd41c0752183982097a81c856a070149c65482e6 100644
(file)
--- a/
magproto.c
+++ b/
magproto.c
@@
-213,7
+213,7
@@
m315_cleanse(char *istring)
/*
* Do same for 330, Meridian, and SportTrak.
*/
-
static
char *
+char *
m330_cleanse(char *istring)
{
static char m330_valid_chars[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ "
@@
-235,7
+235,7
@@
m330_cleanse(char *istring)
* Given a protocol message, compute the checksum as needed by
* the Magellan protocol.
*/
-
static
unsigned int
+unsigned int
mag_checksum(const char * const buf)
{
int csum = 0;